
public class RunLift {

	public static void main(String[] args) {
		LiftView lv = new LiftView();
		SharedData sd = new SharedData(lv);
		LiftHandler lh = new LiftHandler(sd);
		lh.start();
				
		if(args.length!=0)	{
			for(int i=0;i<Integer.parseInt(args[0]);i++)	{
				PersonHandler ph = new PersonHandler(sd);
				ph.start();
			}
		}else{
			for(int i=0;i<20;i++)	{
				PersonHandler ph = new PersonHandler(sd);
				ph.start();
			}
		}
		
	}

}
